home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19981211-19990422
/
000040_news@newsmaster….columbia.edu _Wed Dec 23 16:13:05 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1999-04-21
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA14819
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 23 Dec 1998 16:13:04 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA15322
for kermit.misc@watsun; Wed, 23 Dec 1998 16:13:04 -0500 (EST)
Path: news.columbia.edu!panix!logbridge.uoregon.edu!su-news-hub1.bbnplanet.com!news.gtei.net!news.central.agis.net!agis!news1.alltel.net!not-for-mail
From: reggie wanza <wanza@conwaycorp.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: automation script calling external protocol (Zmodem)
Date: Wed, 23 Dec 1998 13:12:59 -0600
Organization: ALLTEL Internet Services
Lines: 44
Message-ID: <368140BB.C487C5EA@conwaycorp.net>
References: <367FD6BF.1B4D30FD@acxiom.com> <75olvt$c6l$1@apakabar.cc.columbia.edu> <368050A1.6BAA0CC5@conwaycorp.net> <75pr43$3gb$1@apakabar.cc.columbia.edu>
NNTP-Posting-Host: 166.102.19.201
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news1.alltel.net 914447582 10807 166.102.19.201 (23 Dec 1998 21:13:02 GMT)
X-Complaints-To: abuse@client.alltel.net
NNTP-Posting-Date: 23 Dec 1998 21:13:02 GMT
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
Xref: news.columbia.edu comp.protocols.kermit.misc:9672
I tried the receive command in the script and it worked (THANK YOU).
I didn't think kermit commands like send or receive were a part of the scripting
language. I just typed receive in the script. I thought It was necessary to
have input or output commands, which would echo to the remote wildcat server. I
also had issue about how to completely hang-up. I stuffed a hang-up command at
the end of the script and it hung up the phone and then I stuffed an exit at the
end of the script to exit from kermit when completed. I guess that's one way to
do it. Is there a better way? We did purchase a couple copies of using C-Kermit
(second edition), but most of the scripts seem to address dialing another kermit
server and doesn't address downloading files from a non kermit server. I didn't
notice anything about using local commands in the scripts. Any additional
comments would be helpful. It seems to be working for the download side, We'll
write scripts to upload as well, but just wanted to get your opinion on whether
the scripts are being written to take advantage of the scripting commands.
Thanks!
rEggiE
Jeffrey Altman wrote:
> In article <368050A1.6BAA0CC5@conwaycorp.net>,
> moiaussi <moiaussi@conwaycorp.net> wrote:
> : Q: where is the SET PROTOCOL ZMODEM and RECEIVE commands?
> : A: In the .mykermrc file, the following sets protocol.
> : set protocol zmodem crb crz {csb %s} {csz %s} crb crz
> : And the receive command is innitiated from the prompt. i.e. "kermit -r"
> :
> : The command "kermit -r" runs and the .mykermrc executes the following:
> : log session (creates a session log)
> : dial wildcat (the dial list has one phone #)
> : take wildcat (the script to automatically download the file specified).
>
> Your problem is that you are starting the transfer after your script
> completes, therefore, when the transfer ends you have no script running
> to automate the process. Do not use command line options to start a
> transfer when you want the result of the transfer to be controlled by
> a script. Instead, use the RECEIVE command and place it within your
> script.
>
> Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
> The Kermit Project * Columbia University
> 612 West 115th St #716 * New York, NY * 10025
> http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org